package ink.zhaohui.myliteflow.bo;

public class Student {
    // 学生id
    private int id;

    public Student(int id, String name, int age, int sex) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.sex = sex;
    }

    // 学生姓名
    private String name;

    public void setId(int id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public void setScore(int score) {
        this.score = score;
    }

    // 学生年龄
    private int age;
    // 学生性别，0：女，1：男
    private int sex;
    // 学生信息
    private String message="";

    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public int getAge() {
        return age;
    }

    public int getSex() {
        return sex;
    }

    public String getMessage() {
        return message;
    }

    public int getScore() {
        return score;
    }

    // 学生分数
    private int score;
    // getters and setters
}